package com.java.thread.group.niming;

public class Test {
    public static void main(String[] args)  {
        // 使⽤匿名类创建 Runnable ⼦类对象
        Thread t2 = new Thread(new Runnable() {
            public void run() {
                System.out.println("使⽤匿名类创建 Runnable ⼦类对象");
            }
        });
    }
}
